﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Reflection;

namespace Needle.Templates.Tests.Data
{
    public class TestData
    {

        public static Stream GetStream(string resource)
        {
            return Assembly.GetExecutingAssembly().GetManifestResourceStream(typeof(TestData), resource);
        }
        public static TextReader GetTextReader(string resource)
        {
            return new StreamReader(Assembly.GetExecutingAssembly().GetManifestResourceStream(typeof(TestData), resource));
        }
        
    }
}
